package com.woniuxy.controller;

import com.woniuxy.domain.Movie;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("MovieService")
@RequestMapping("/movie")
public interface ProductClientMovie {
    @GetMapping("/selectMovieByMid")
    public Movie selectMovieByMid(@RequestParam("mId") int mId);
}
